import request from '@/router/axios';

export const memberList = (current, size, params) => {
  return request({
    url: '/api/merchant/customer-service/member-list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}


export const addMember = (customerServiceId, ids) => {
  return request({
    url: '/api/merchant/customer-service/add-member',
    method: 'post',
    params: {
      customerServiceId,
      ids,
    }
  })
}

export const removeMember = (ids) => {
  return request({
    url: '/api/merchant/customer-service/remove-member',
    method: 'post',
    params: {
      ids,
    }
  })
}
